<?php
class Blog extends AppModel
{
	var $name = "blog";
	var $hasAndBelongsToMany = array(
       'User' =>
           array(
	           'className'              => 'User',
               'joinTable'              => 'blogs_users',
               'foreignKey'             => 'blog_id',
               'associationForeignKey'  => 'user_id'
           		)
       );
}
?>